<?php

namespace app\admin\model;

use think\Model;

class Poundage extends Model 
{
    public function index()
    {
        $poundage=\think\Db::table('op_poundage')
        ->select();
        return $poundage;
    }

    public function add($info)
    {   
        //
    }
    
    public function show($id)
    {   
        //
    }    
       


    public function updat($data)
    {   

        //插入数据表
        $poundage=\think\Db::table('op_poundage')
            ->update($data);
            
        return $poundage;

    }
}
